package com.lanhai.zhonglai.beans;

import java.util.ArrayList;
import java.util.List;

/**
 * 设备分组
 * @author zhengwei
 *
 */
public class StationTeamBean {
	private List<String> list;
	  boolean locked;
	 
	
	public StationTeamBean(int[] arr) {
		list=new ArrayList<String>();
		for(int i=0;i<arr.length;i++) {
			list.add(arr[i]+"");
		} 
		locked=false;
	}
	
	public String getKey() {
		return list.get(0);
	}
	
	public boolean exist(int dotno) {
		return list.contains(""+dotno);
	}
	  

	public boolean isLocked() {
			return locked;
		}


		public void setLocked(boolean locked) {
			this.locked = locked;
		}

 
}
